package cn.nlsde.service.impl;

import cn.nlsde.dao.InnovationTypeMapper;
import cn.nlsde.entity.InnovationType;
import cn.nlsde.service.InnovationTypeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zwj on 2016/10/6.
 */
@Service
public class InnovationTypeServiceImpl implements InnovationTypeService {

    public final Logger logger = LoggerFactory.getLogger(InnovationTypeServiceImpl.class);

    @Autowired
    InnovationTypeMapper innovationTypeMapper;

    @Override
    public int save(InnovationType obj) {
        return 0;
    }

    @Override
    public int delete(InnovationType obj) {
        return 0;
    }

    @Override
    public int update(InnovationType obj) {
        return 0;
    }

    @Override
    public InnovationType selectById(Integer id) {
        return null;
    }

    @Override
    public List<InnovationType> selectAll() {
        return null;
    }

    @Override
    public int deleteById(Integer id) {
        return innovationTypeMapper.deleteByPrimaryKey(id);
    }


}
